<!-- Copyright (c) 2002 by ObjectLearn. All Rights Reserved. -->
<%@page import="com.zucc.core.po.Reservation"%>
<%@page import="com.mysql.fabric.xmlrpc.base.Data"%>
<%@page import="org.springframework.ui.Model"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>   
    <%@	page import="java.util.List" %>
    <%@	page import="com.zucc.core.po.MeetingRoom" %> 
<%@ page trimDirectiveWhitespaces="true"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="zucc" uri="http://zucc.com/common/"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() 
	                   + ":" + request.getServerPort() + path + "/";
%>
<html>
	<head>
		<title>Welcome</title>
		<!-- 引入css样式文件 -->
	<!-- Bootstrap Core CSS -->
	<link href="<%=basePath%>css/bootstrap.min.css" rel="stylesheet" />
	<!-- MetisMenu CSS -->
	<link href="<%=basePath%>css/metisMenu.min.css" rel="stylesheet" />
	<!-- DataTables CSS -->
	<link href="<%=basePath%>css/dataTables.bootstrap.css" rel="stylesheet" />
	<!-- Custom CSS -->
	<link href="<%=basePath%>css/sb-admin-2.css" rel="stylesheet" />
	<!-- Custom Fonts -->
	<link href="<%=basePath%>css/font-awesome.min.css" rel="stylesheet" type="text/css" />
	<link href="<%=basePath%>css/boot-crm.css" rel="stylesheet" type="text/css" />
		
	</head>
	<body>
	<div id="page-wrapper">
	<a href="${pageContext.request.contextPath }/mr/list.action" class="btn btn-primary">返回</a>
	
		<div class="panel panel-default">
					<div class="panel-heading">会议室使用情况</div>
					<!-- /.panel-heading -->
					<table class="table table-bordered table-striped">
						<thead>
							<tr>
								<th>会议室名称</th>
								<th>已使用时长</th>
								<th>预约次数</th>
								
							</tr>
						</thead>
						<tbody>
						<c:forEach items="${usrCount}" var="res">
								<tr>
									<td>${res.mName}</td>
									<td>${res.timCount}小时</td>
									<td>${res.count}次</td>
									
								</tr>
							</c:forEach>
						</tbody>
					</table>
					
					<!-- /.panel-body -->
				</div>
			</div>